mirror of
https://github.com/aseprite/aseprite.git
synced 2025-02-14 09:41:19 +00:00
Fix bug of hidden widgets when the frame is shown.
This is (probably) a fix for bug #3050538 in sf.net tracker.
This commit is contained in:
parent
bd69a216bb
commit
f36a0f22b1
@ -265,11 +265,14 @@ bool jmanager_generate_messages(JWidget manager)
|
||||
JI_LIST_FOR_EACH(new_windows, link) {
|
||||
window = reinterpret_cast<JWidget>(link->data);
|
||||
|
||||
/* dirty the entire window and show it */
|
||||
window->invalidate();
|
||||
window->setVisible(true);
|
||||
// Relayout
|
||||
window->layout();
|
||||
|
||||
/* attract the focus to the magnetic widget... */
|
||||
// Dirty the entire window and show it
|
||||
window->setVisible(true);
|
||||
window->invalidate();
|
||||
|
||||
// Attract the focus to the magnetic widget...
|
||||
/* 1) get the magnetic widget */
|
||||
magnet = find_magnetic_widget(window->getRoot());
|
||||
/* 2) if magnetic widget exists and it doesn't have the focus */
|
||||
|
Loading…
x
Reference in New Issue
Block a user