From 9065639aaa129e309beb80fa5dc0b313461a90f4 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Wed, 9 Dec 2015 09:19:57 +0100 Subject: Update project explorer selection after confirmation of project switch When changes of a modified project were dropped during switching a project, the selection in the project explorer was not updated. --- inst/GUI/gmkin.R | 1 + 1 file changed, 1 insertion(+) (limited to 'inst/GUI') diff --git a/inst/GUI/gmkin.R b/inst/GUI/gmkin.R index 2028fbc..ad52839 100644 --- a/inst/GUI/gmkin.R +++ b/inst/GUI/gmkin.R @@ -201,6 +201,7 @@ p.switcher <- function(h, ...) { p.loaded <<- p.cur project_switched <- TRUE p.modified <<- FALSE + svalue(p.gtable) <<- p.cur } if (p.modified) { gconfirm("When you switch projects, you loose any unsaved changes. Proceed to switch?", -- cgit v1.2.1