solvespace/src
dustinhartlyn 6b94af0765
minor fix open/save dialogue on windows (#983)
* minor fix open/save dialogue on windows 

On windows 10 the open/save dialogue box has an minor error, and I believe I fixed it. 

When "Open" is selected from the menu, the title of the dialogue box says "SolveSpace - Save File" and the entered file name is "united". My fix correctly titles the dialoged box, and leaves the address bar blank when a file is being opened because "united" is only needed as a default name when a file being saved. 

I found that class FileDialogImplWin32 from guiwin.cpp contains two if statements for "isSaveDialog". This is redundant. I removed the first where the title was originally set, but not working. I then set the title in the second if statement and moved the 'if isEmpty'' to this section.

* Update guiwin.cpp

replaced tabs with spaces
2021-04-01 09:24:04 -04:00
..
platform minor fix open/save dialogue on windows (#983) 2021-04-01 09:24:04 -04:00
render Add z distance checking to entity picking. Fixes issue 521 2020-11-17 18:58:18 -05:00
srf Don't do numeric surface intersections if an exact curve has been copied. We don't want 2 overlapping but different sets of PWLs. 2020-10-29 14:02:57 -04:00
CMakeLists.txt Add OpenMP debug information to conf screen (#869) 2020-12-29 14:09:10 -05:00
bsp.cpp Intersection boolen in triangle mesh mode is properly implemented 2020-05-10 17:11:19 -04:00
clipboard.cpp Revert "Clean up paste transformed and constrain operations a bit." 2021-01-08 21:40:34 +02:00
config.h.in Drop backtrace generation. 2020-07-28 14:56:55 +00:00
confscreen.cpp Add OpenMP debug information to conf screen (#869) 2020-12-29 14:09:10 -05:00
constraint.cpp Fix tangent constraints of curves. 2021-03-06 14:16:33 -05:00
constrainteq.cpp Improve text screen for a selected constraint. 2020-08-07 18:06:42 +00:00
describescreen.cpp UI: Show XYZ distance components in the text window for two points 2021-03-06 14:15:28 -05:00
draw.cpp Fix marquee selection when the view is rotated away from the working plane 2020-12-21 23:00:51 +02:00
drawconstraint.cpp Reimplement DivPivoting as DivProjected. 2019-09-20 01:09:25 +00:00
drawentity.cpp export style for construction entities for edges 2021-03-25 21:29:41 -04:00
dsc.h Fix pathologically slow translate groups on Linux 2021-03-27 12:03:01 -04:00
entity.cpp Fix issue659 - Problems constraining to ends of Helix. 2020-08-07 15:16:47 -04:00
export.cpp Add exportable option to default styles 2021-03-17 12:01:58 -04:00
exportstep.cpp Fix unsequenced modification and access warnings. 2020-11-18 17:07:56 +02:00
exportvector.cpp Add exportable option to default styles 2021-03-17 12:01:58 -04:00
expr.cpp Use the new equality/inequality operators of handles to reduce references to .v. NFC. 2019-07-10 15:40:21 +00:00
expr.h Clean up virtual, override, default, and void params. NFC. 2019-09-11 10:31:07 +00:00
file.cpp Fix a crash when opening an empty file. 2021-02-03 18:14:29 -05:00
generate.cpp Make the redundant constraint timeout a configuration value and add the config UI elements to edit that value. 2020-09-16 16:39:43 -04:00
graphicswin.cpp permit construction geometry toggle while drawing 2021-02-23 10:13:29 -05:00
group.cpp IDF file Linking. 2020-09-30 14:20:35 -04:00
groupmesh.cpp Add menu checkbox Dim Solid for Sketch Groups. 2020-12-29 14:08:45 -05:00
importdxf.cpp Allow DXF import of 3D arcs and circles 2020-10-01 12:59:43 -04:00
importidf.cpp initial support (disabled) for keepout regions in IDF files. 2020-10-19 18:26:45 -04:00
lib.cpp Use a thread-safe temporary arena on every platform. 2020-05-22 18:06:22 +00:00
mesh.cpp Fix #696. Account for multiple coincident edges when looking for naked edges. 2020-09-14 12:07:17 -04:00
modify.cpp Rename our isnan() function to IsReasonable(). 2020-05-12 14:08:21 +00:00
mouse.cpp fix problems with ctrl/shift key drag modifiers 2021-03-01 21:09:36 -05:00
polygon.cpp Less work in AssembleContour 2020-05-06 18:38:58 -04:00
polygon.h Add a pass in triangulation to create convex triangle fans. These triangles will have smaller bounding boxes and look better. 2020-08-07 15:47:01 -04:00
polyline.cpp Make some arguments const/const references, where possible. NFC. 2019-11-23 14:07:31 +00:00
request.cpp Use the new equality/inequality operators of handles to reduce references to .v. NFC. 2019-07-10 15:40:21 +00:00
resource.cpp Make some arguments const/const references, where possible. NFC. 2019-11-23 14:07:31 +00:00
resource.h Various header cleanups. NFC. 2020-05-10 09:24:12 +00:00
sketch.h Save stipple settings for default styles to config 2021-03-29 14:43:29 -04:00
solvespace.cpp Override minimum displayed digits as needed to avoid showing zero. 2021-01-13 19:56:06 -05:00
solvespace.h Remove Q3DO export. 2020-11-21 13:02:39 -05:00
style.cpp Save stipple settings for default styles to config 2021-03-29 14:43:29 -04:00
system.cpp Make the redundant constraint timeout a configuration value and add the config UI elements to edit that value. 2020-09-16 16:39:43 -04:00
textscreens.cpp UI: Display "err" in the property browser only if "check sketch for closed contour" 2020-11-24 18:18:11 -05:00
textwin.cpp Improve zooming with trackpad and scrollwheel 2020-12-11 07:26:02 -05:00
toolbar.cpp Correct toolbar height calculation (#885) 2021-01-10 10:33:26 -05:00
ttf.cpp Don't show unusable fonts in font selector. 2019-11-23 16:17:01 +00:00
ttf.h Don't show unusable fonts in font selector. 2019-11-23 16:17:01 +00:00
ui.h Add menu checkbox Dim Solid for Sketch Groups. 2020-12-29 14:08:45 -05:00
undoredo.cpp Convert many loops to range-for or std algorithms. NFC. 2019-08-20 15:57:11 +00:00
util.cpp Performance optimization of the Vector class 2020-10-23 20:08:43 -04:00
view.cpp Implement a platform abstraction for windows. 2018-07-17 13:31:17 +00:00