Fix note always re-opening in new window
Aurimas Černius
2 years ago
90 | 90 |
if (note->has_window()) {
|
91 | 91 |
win = dynamic_cast<MainWindow*>(note->get_window()->host());
|
92 | 92 |
}
|
93 | |
else {
|
|
93 |
if(!win) {
|
94 | 94 |
win = &g.get_window_for_note();
|
95 | 95 |
}
|
96 | 96 |
}
|