mirror of
https://github.com/lifegpc/GARbro.git
synced 2026-06-26 05:36:56 +08:00
(ChangePosition): new history navigation method.
Push current position into undo stack only if directory has been changed.
This commit is contained in:
@@ -188,8 +188,7 @@ namespace GARbro.GUI
|
||||
{
|
||||
Settings.Default.appLastCreatedArchive = m_arc_name;
|
||||
m_main.Dispatcher.Invoke (() => {
|
||||
m_main.SaveCurrentPosition();
|
||||
m_main.SetCurrentPosition (new DirectoryPosition (m_arc_name));
|
||||
m_main.ChangePosition (new DirectoryPosition (m_arc_name));
|
||||
});
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user