Browse Source

nviz: Don't fail when user cancels surface property raster map choose window

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@41205 15284696-431f-4ddb-bdfa-cd5b030d7da7
Maris Nartiss 15 years ago
parent
commit
922218ff4b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      visualization/nviz/scripts/attPopup.tcl

+ 1 - 1
visualization/nviz/scripts/attPopup.tcl

@@ -261,7 +261,7 @@ proc ap_get_topofile {} {
     global attPopup_Status attPopup_Type
     
     set new [create_map_browser .browse_topo_file surf 1]
-    if { $new == "" } then { return }
+    if { $new == "" || $new == -1 } then { return }
     
     puts "returned from create_map_browser"
     set attPopup_Type non_constant