[Spreadsheet] add tooltip for alias line edit. Also, per user request, make it so when creating a new spreadsheet it is open for viewing/editing
This commit is contained in:
@@ -868,6 +868,8 @@ void CmdCreateSpreadsheet::activated(int iMsg)
|
||||
|
||||
openCommand("Create Spreadsheet");
|
||||
doCommand(Doc,"App.activeDocument().addObject('Spreadsheet::Sheet','%s\')",FeatName.c_str());
|
||||
doCommand(Gui,"Gui.Selection.clearSelection()\n");
|
||||
doCommand(Gui,"Gui.Selection.addSelection(App.activeDocument().Name,'%s\')",FeatName.c_str());
|
||||
commitCommand();
|
||||
}
|
||||
|
||||
|
||||
@@ -48,6 +48,10 @@
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Refer to cell by alias, for example\n Spreadsheet.my_alias_name instead of Spreadsheet.B1
|
||||
</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
|
||||
Reference in New Issue
Block a user