mirror of
				https://bitbucket.org/mfeemster/fractorium.git
				synced 2025-11-03 17:50:27 -05:00 
			
		
		
		
	--User changes
-Add a button to swap the pre and post affine values for all selected xforms. --Bug fixes -Remove the ability to change spinner values with +=-=, it was conflicting with other things and added no real value. -All file dialog opening in Linux would freeze. No longer using native file dialogs, they are broken. -Set default open path to the desktop if there is no settings file present, which will be the case on the first run. -Amphibole_Supergroup.ugr palette had an invalid character in two of the palette names. --Code changes -Change some table header padding styles to work with new Qt. Qss reload is required. -Ensure the open folder path setting always has a valid string in it before opening a folder.
This commit is contained in:
		@ -85,9 +85,20 @@ void FractoriumSettings::EnsureDefaults()
 | 
			
		||||
	   )
 | 
			
		||||
		FinalExt("png");
 | 
			
		||||
 | 
			
		||||
	auto s = SaveFolder();
 | 
			
		||||
	auto s = OpenFolder();
 | 
			
		||||
	QDir dir(s);
 | 
			
		||||
 | 
			
		||||
	if (s.isEmpty() || !dir.exists())
 | 
			
		||||
	{
 | 
			
		||||
		QStringList paths = QStandardPaths::standardLocations(QStandardPaths::DesktopLocation);
 | 
			
		||||
 | 
			
		||||
		if (!paths.empty())
 | 
			
		||||
			OpenFolder(paths[0]);
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	s = SaveFolder();
 | 
			
		||||
	dir = QDir(s);
 | 
			
		||||
 | 
			
		||||
	if (s.isEmpty() || !dir.exists())
 | 
			
		||||
	{
 | 
			
		||||
		QStringList paths = QStandardPaths::standardLocations(QStandardPaths::DesktopLocation);
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user