Skip to content
Snippets Groups Projects
Commit 6808d290 authored by helene ortiz's avatar helene ortiz
Browse files

Do not display a combo with extension "xml" when saving user's script.

parent 0a42fb06
No related branches found
No related tags found
No related merge requests found
4.3.11 dd/mm/yyyy
------
* Do not display a combo with extension "xml" when saving user's script.
4.3.10 26/02/2024 4.3.10 26/02/2024
------ ------
* Delete and append of XBU file ok. * Delete and append of XBU file ok.
......
...@@ -18,9 +18,6 @@ ...@@ -18,9 +18,6 @@
package fr.ill.ics.client.view.command.navigation.button.swt; package fr.ill.ics.client.view.command.navigation.button.swt;
import java.util.HashSet;
import java.util.Set;
import org.eclipse.swt.SWT; import org.eclipse.swt.SWT;
import org.eclipse.swt.events.MouseAdapter; import org.eclipse.swt.events.MouseAdapter;
import org.eclipse.swt.events.MouseEvent; import org.eclipse.swt.events.MouseEvent;
...@@ -348,9 +345,6 @@ public class SWTTabButtonPeer extends TabButtonPeer { ...@@ -348,9 +345,6 @@ public class SWTTabButtonPeer extends TabButtonPeer {
userEntryDialog.setAllowDirectoryCreation(false); userEntryDialog.setAllowDirectoryCreation(false);
userEntryDialog.setCreateExtraComposite(true); userEntryDialog.setCreateExtraComposite(true);
Set<String> extensions = new HashSet<String>();
extensions.add(".xml");
userEntryDialog.setExtensions(extensions);
userEntryDialog.init(); userEntryDialog.init();
String initialName = tabButton.getName(); String initialName = tabButton.getName();
if (initialName.contains(ConfigManager.FILE_SEPARATOR)) { if (initialName.contains(ConfigManager.FILE_SEPARATOR)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment