mirror of
https://github.com/rizinorg/cutter.git
synced 2025-02-20 13:46:06 +00:00
revert shitty fix (#1335)
This commit is contained in:
parent
f62076a142
commit
6f1309452a
@ -346,7 +346,7 @@ void MainWindow::setOverviewData()
|
||||
|
||||
bool MainWindow::isOverviewActive()
|
||||
{
|
||||
if (!overviewDock || overviewDock->userClosed || !overviewDock->isVisible) {
|
||||
if (!overviewDock || overviewDock->userClosed) {
|
||||
return false;
|
||||
}
|
||||
if (core->isGraphEmpty()) {
|
||||
|
@ -15,7 +15,6 @@ OverviewWidget::OverviewWidget(MainWindow *main, QAction *action) :
|
||||
});
|
||||
|
||||
connect(this, &QDockWidget::visibilityChanged, this, [ = ](bool visibility) {
|
||||
isVisible = visibility;
|
||||
if (visibility) {
|
||||
updateContents();
|
||||
}
|
||||
|
@ -19,7 +19,6 @@ public:
|
||||
* @brief if user closed this widget explicitly
|
||||
*/
|
||||
bool userClosed = false;
|
||||
bool isVisible = false;
|
||||
private:
|
||||
RefreshDeferrer *refreshDeferrer;
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user