mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 22:27:20 +02:00
Fix possible crash in export panel management.
This commit is contained in:
parent
ea3dab4a06
commit
6b62ec97c6
1 changed files with 6 additions and 2 deletions
|
@ -153,11 +153,15 @@ PanelController::~PanelController() {
|
|||
if (_saveSettingsTimer.isActive()) {
|
||||
saveSettings();
|
||||
}
|
||||
_panel->destroyLayer();
|
||||
if (_panel) {
|
||||
_panel->destroyLayer();
|
||||
}
|
||||
}
|
||||
|
||||
void PanelController::activatePanel() {
|
||||
_panel->showAndActivate();
|
||||
if (_panel) {
|
||||
_panel->showAndActivate();
|
||||
}
|
||||
}
|
||||
|
||||
void PanelController::createPanel() {
|
||||
|
|
Loading…
Add table
Reference in a new issue