Make History dialog again resizable.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2019-05-27 17:10:17 +03:00
parent 6590742f09
commit e14b16dc96
2 changed files with 7 additions and 0 deletions

View File

@ -490,6 +490,12 @@ void DialogHistory::changeEvent(QEvent *event)
QDialog::changeEvent(event);
}
//---------------------------------------------------------------------------------------------------------------------
void DialogHistory::showEvent(QShowEvent *event)
{
QDialog::showEvent( event ); // return default behavior
}
//---------------------------------------------------------------------------------------------------------------------
void DialogHistory::RetranslateUi()
{

View File

@ -69,6 +69,7 @@ protected:
virtual void closeEvent ( QCloseEvent * event ) override;
virtual void changeEvent(QEvent* event) override;
virtual bool IsValid() const final {return true;}
virtual void showEvent( QShowEvent *event ) override;
private:
Q_DISABLE_COPY(DialogHistory)