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 ();
|
||||
}
|
||||
|
||||
if (m_prop_changed) {
|
||||
do_prop_changed ();
|
||||
m_prop_changed = false;
|
||||
}
|
||||
if (is_activated ()) {
|
||||
|
||||
tl::Clock current_time = tl::Clock::current ();
|
||||
if ((current_time - m_last_checked).seconds () > animation_interval) {
|
||||
m_last_checked = current_time;
|
||||
if (m_animated) {
|
||||
set_view_ops ();
|
||||
do_set_phase (int (m_phase));
|
||||
if (m_prop_changed) {
|
||||
do_prop_changed ();
|
||||
m_prop_changed = false;
|
||||
}
|
||||
|
||||
tl::Clock current_time = tl::Clock::current ();
|
||||
if ((current_time - m_last_checked).seconds () > animation_interval) {
|
||||
m_last_checked = current_time;
|
||||
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 ();
|
||||
}
|
||||
}
|
||||
mp_timer->start (timer_interval);
|
||||
m_activated = true;
|
||||
update_content ();
|
||||
}
|
||||
|
|
@ -1479,7 +1478,6 @@ LayoutView::deactivate ()
|
|||
}
|
||||
|
||||
free_resources ();
|
||||
mp_timer->stop ();
|
||||
m_activated = false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue