Hi.

The small patch below fixes the 'Save As' menu. Oops ...

Index: PythonCAD/Interface/Gtk/gtkmenus.py
===================================================================
--- PythonCAD/Interface/Gtk/gtkmenus.py (revision 2654)
+++ PythonCAD/Interface/Gtk/gtkmenus.py (revision 2655)
@@ -342,7 +342,7 @@
 
 #------------------------------------------------------------
 def file_save_as_cb(menuitem, gtkimage):
-    _fname = gtkimage.getFilename()
+    _fname = gtkimage.image.getFilename()
     if _fname is None:
         _fname = gtkimage.getWindow().get_title()
     _get_filename_and_save(gtkimage, _fname)

Man once surrendering his reason, has no remaining guard against absurdities
the most monstrous, and like a ship without rudder, is the sport of every wind.

-Thomas Jefferson to James Smith, 1822
_______________________________________________
PythonCAD mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pythoncad

Reply via email to