mirror of https://github.com/KLayout/klayout.git
Bugfix: 'Save all' was not updating the dirty state in the panel tabs
This commit is contained in:
parent
414a06c70f
commit
2e150980d5
|
|
@ -3788,21 +3788,25 @@ LayoutViewBase::timer ()
|
||||||
emit_dirty_changed ();
|
emit_dirty_changed ();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (m_prop_changed) {
|
if (is_activated ()) {
|
||||||
do_prop_changed ();
|
|
||||||
m_prop_changed = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
tl::Clock current_time = tl::Clock::current ();
|
if (m_prop_changed) {
|
||||||
if ((current_time - m_last_checked).seconds () > animation_interval) {
|
do_prop_changed ();
|
||||||
m_last_checked = current_time;
|
m_prop_changed = false;
|
||||||
if (m_animated) {
|
}
|
||||||
set_view_ops ();
|
|
||||||
do_set_phase (int (m_phase));
|
tl::Clock current_time = tl::Clock::current ();
|
||||||
|
if ((current_time - m_last_checked).seconds () > animation_interval) {
|
||||||
|
m_last_checked = current_time;
|
||||||
if (m_animated) {
|
if (m_animated) {
|
||||||
++m_phase;
|
set_view_ops ();
|
||||||
|
do_set_phase (int (m_phase));
|
||||||
|
if (m_animated) {
|
||||||
|
++m_phase;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1459,7 +1459,6 @@ LayoutView::activate ()
|
||||||
(*p)->browser_interface ()->show ();
|
(*p)->browser_interface ()->show ();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
mp_timer->start (timer_interval);
|
|
||||||
m_activated = true;
|
m_activated = true;
|
||||||
update_content ();
|
update_content ();
|
||||||
}
|
}
|
||||||
|
|
@ -1479,7 +1478,6 @@ LayoutView::deactivate ()
|
||||||
}
|
}
|
||||||
|
|
||||||
free_resources ();
|
free_resources ();
|
||||||
mp_timer->stop ();
|
|
||||||
m_activated = false;
|
m_activated = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue