Don't resize dialog with invalid sizes

This fixes wrong dialog sizes on first startup.
This commit is contained in:
Chocobo1
2022-06-02 20:41:42 +08:00
parent 3fd0241abb
commit fcf50820e8
21 changed files with 64 additions and 64 deletions

View File

@@ -115,6 +115,8 @@ private slots:
void webUIHttpsKeyChanged(const Path &path, ShowError showError);
private:
void showEvent(QShowEvent *e) override;
// Methods
void saveOptions();
void loadOptions();