mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-21 12:26:11 +00:00
Tiny fix
This commit is contained in:
parent
5b1337d063
commit
df3e9c2efa
@ -504,7 +504,7 @@ void MainWindow::refreshComments()
|
|||||||
void MainWindow::updateFrames()
|
void MainWindow::updateFrames()
|
||||||
{
|
{
|
||||||
/* TODO Widgets are independants and responsible to update their own
|
/* TODO Widgets are independants and responsible to update their own
|
||||||
* content right? Just send a signal.
|
* content right? Just send a signal.*/
|
||||||
if (core == NULL)
|
if (core == NULL)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
@ -512,8 +512,12 @@ void MainWindow::updateFrames()
|
|||||||
|
|
||||||
if (first_time)
|
if (first_time)
|
||||||
{
|
{
|
||||||
for (auto w : dockWidgets)
|
for (auto W : dockWidgets)
|
||||||
{
|
{
|
||||||
|
DockWidget* w = dynamic_cast<DockWidget*>(W);
|
||||||
|
if (w) {
|
||||||
|
w->setup();
|
||||||
|
}
|
||||||
w->setup();
|
w->setup();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -521,15 +525,18 @@ void MainWindow::updateFrames()
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
for (auto w : dockWidgets)
|
for (auto W : dockWidgets)
|
||||||
{
|
{
|
||||||
|
DockWidget* w = dynamic_cast<DockWidget*>(W);
|
||||||
|
if (w) {
|
||||||
|
w->refresh();
|
||||||
|
}
|
||||||
w->refresh();
|
w->refresh();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// graphicsBar->refreshColorBar();
|
// graphicsBar->refreshColorBar();
|
||||||
graphicsBar->fillData();
|
graphicsBar->fillData();
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::on_actionLock_triggered()
|
void MainWindow::on_actionLock_triggered()
|
||||||
|
Loading…
Reference in New Issue
Block a user