Fix redrawing invalid regions when opening dithering matrices combobox for Gradient tool

It was more visible in this case, but probably it's a general problem
for all auto-remap windows in the code. We should remove this flag in
a near future.
This commit is contained in:
David Capello 2021-05-22 11:58:59 -03:00
parent 383adf2e0c
commit 208178c9af

View File

@ -632,6 +632,7 @@ void ComboBox::openListBox()
m_window = new Window(Window::WithoutTitleBar);
View* view = new View();
m_listbox = new ComboBoxListBox(this);
m_window->setAutoRemap(false);
m_window->setOnTop(true);
m_window->setWantFocus(false);
m_window->setSizeable(false);